package com.lijin.repository;

import com.lijin.dataobject.entity.UserInfo;
import org.springframework.data.repository.CrudRepository;

/**
 * Created by gold-jx on 2017/6/5.
 */
public interface UserInfoRepository extends CrudRepository<UserInfo,Long> {

    /**通过username查找用户信息;*/
    public UserInfo findByUsername(String username);

}
